package com.songshuai.webapi.permission.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value="首页设置实体")
@Data
public class YxHomepageConfigReqDto {
    @NotNull(message = "角色ID不能为空")
    @ApiModelProperty(value="角色ID",required = true)
    private Integer roleId;

    @ApiModelProperty(value="菜单URL",required = false)
    private String homePage;

    @ApiModelProperty(value="菜单ID",required = false)
    private Integer navigationId;

    @NotNull(message = "appId不能为空")
    @ApiModelProperty(value="appId",required = true)
    private Integer appId;



}